<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<link rel="stylesheet" href="/easyui/themes/icon.css" />
		<link rel="stylesheet" href="/easyui/themes/default/easyui.css" />
		<title>外观管理-时装类型列表</title>
		<script type="text/javascript" src="/js/jquery.min.js"></script>
		<script type="text/javascript" src="/easyui/jquery.easyui.min.js"></script>
		<script type="text/javascript" src="/easyui/easyui-lang-zh_CN.js"></script>
		<script type="text/javascript" src="/easyui/datagrid-detailview.js"></script>
	</head>
	
	<body>
		<form id="search_form">
			<table>
				<tr>
					<td><input id="_type_" /></td>
					<td><input id="_name_" /></td>
					<td><input id="_gender_" /></td>
					<td><input id="parent_id" /></td>

					<td><a id="search">搜索</a></td>
					<td><a id="clear">清空</a></td>
				</tr>
			</table>
		</form>
		
		<div id="shizhuang_dialog" style="display:none;">
			<form id="shizhuang_form">
				<input type="hidden" id="id" name="id" />
				
				<table style="border-spacing:10px;">
					<tr>
						<td>时装类型</td>
						<td><input id="type" name="type" /></td>

						<td>时装名称</td>
						<td><input id="name" name="name" /></td>
					</tr>

					<tr>
						<td>风尚数值</td>
						<td><input id="fashion" name="fashion" /></td>

						<td>时装颜色</td>
						<td><input id="colorId" name="colorId" /></td>
					</tr>

					<tr>
						<td>适用性别</td>
						<td><input id="gender" name="gender" /></td>

						<td>父级类型</td>
						<td><input id="parentId" name="parentId" /></td>
					</tr>
				</table>
			</form>
		</div>

		<div id="upload_dialog" style="display:none;">
			<form id="upload_form">
				<input type="hidden" id="shizhuang_id" name="id" />
				<input type="hidden" id="image" name="image" />

				<table style="border-spacing:5px;">
					<tr>
						<td>上传图片：</td>
						<td><input id="upload" /></td>
					</tr>

					<tr>
						<td>图片预览：</td>
						<td><img id="img" height="120" /></td>
					</tr>
				</table>
			</form>
		</div>

		<div id="insert_dialog" style="display:none;">
			<table>
				<tr>
					<td>选择颜色</td>
					<td><input id="colorIds" name="colorIds" /></td>

					<td><button type="button" id="enter"></button></td>
				</tr>
			</table>

			<table id="view_list"></table>
		</div>
				
		<table id="shizhuang_list"></table>
	</body>

	<script type="text/javascript" src="/js/public.js"></script>
	<script type="text/javascript" src="/js/ajaxUtils.js"></script>
	<script type="text/javascript" src="/js/waiguan/shizhuang_list.js"></script>
</html>